<?php
/**
 * Created by.
 * User: littleU-569598569
 * Date: 2021/2/3 0003
 * Time: 22:33
 */

namespace app\api\controller\v1\cms;


use app\api\controller\BaseController;
use app\api\service\Agency as AgencyService;

class Agency extends BaseController
{
    public function getAgencyByCondition()
    {
        $data = input('post.');
        $result = (new AgencyService())->getAgencyByCondition($data);
        return $result;
    }

    public function getAgencyApplyByCondition()
    {
        $data = input('post.');
        $result = (new AgencyService())->getAgencyApplyByCondition($data);
        return $result;
    }
}